/*
 * Project Wok
 *
 * Copyright IBM Corp, 2017
 *
 * Code derived from Project Kimchi
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

// Core variables
@import "modules/wok-variables";
// Core variables and mixins
@import "vendor/bootstrap-sass/bootstrap/mixins";
// Compass Mixins
@import "vendor/compass-mixins/lib/compass";
// Wok Accordion Mixin
@import "modules/wok-accordion";

#wok-root-container{
    .accordion {
        @include wok-accordion();
    }
}

.wok {
    div.modal-footer {
        background-color: $wok-color;
    }
    .modal-body .nav-tabs > li.active > a,
    .modal-body .nav-tabs > li.active > a:hover,
    .modal-body .nav-tabs > li.active > a:focus {
        border-color: -moz-use-text-color -moz-use-text-color $wok-color;
    }

    &.modal {
        .row.clearfix {
            margin-left: -10px;
            margin-right: -10px;
        }

        .form-group.col-sm-6 {
            padding-left: 10px;
            padding-right: 10px;
        }
    }

}

.action-group {
    position: absolute;
    z-index: 999;
}

div#user-log-actions {
    padding-top: 15px;
}

.label {
    display: inline-block;
    vertical-align: middle;
}

.bootgrid-table th>.column-header-anchor>.icon.fa {
    right: 6px;
    top: 4px;
}

span.trim {
    display: inline-block;
    width: 100%;
    vertical-align: middle;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 6px;
}

.table > tbody > tr > td {
    vertical-align: middle;
}

.tooltip > .tooltip-inner {
    font-weight: 400;
    font-size: 12.5pt;
    padding: 8px !important;
    max-width: 420px !important;
    text-align: left;
}

.search {
    margin: 0 !important;
    width: 514px !important;
}

.pagination {

    .button {
        font-weight: 600;
        cursor: pointer;
    }

    .disabled .button {
        cursor: not-allowed;
    }
}